package com.demo.mapper;

import com.demo.dto.*;
import com.demo.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: TLB
 * @Date: 2022/11/10 19:42
 */
@Mapper
public interface UserMapper {


    User selectByMobile(String mobile);

    User selectByLogDto(LoginDto loginDto);

    List<User> selectByClassId(Integer classId);

    int updateIntegralById(AddIntegralDto dto);


    List<UserWorksDto>  showWorks(ShowWorksDto dto);

    int updateIntegralByGroupId(Integer groupId);

    List<NotDoWorkStudent> findNotWorkByTime(FindNotWorkByTimeDto dto);
}
